/**
 * Hospital.java
 * 
 * $Source$
 */
/*
 * Copyright (c) 2012 MyDoctor.com, Inc. All rights reserved.
 */

package com.mydoctor.domain;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * The persistent class for the hospitals database table.
 * 
 */
@Entity
@Table(name = "hospitals")
public class Hospital implements Serializable
{
    private static final long serialVersionUID = 1L;

    @Id
    private int hospitalId;

    private String addressLine1;

    private String addressLine2;

    private String city;

    private String country;

    private String name;

    private String state;

    protected Hospital()
    {
    }

    public String getAddressLine1()
    {
        return this.addressLine1;
    }

    public String getAddressLine2()
    {
        return this.addressLine2;
    }

    public String getCity()
    {
        return this.city;
    }

    public String getCountry()
    {
        return this.country;
    }

    public int getHospitalId()
    {
        return this.hospitalId;
    }

    public String getName()
    {
        return this.name;
    }

    public String getState()
    {
        return this.state;
    }

    protected void setAddressLine1(String addressLine1)
    {
        this.addressLine1 = addressLine1;
    }

    protected void setAddressLine2(String addressLine2)
    {
        this.addressLine2 = addressLine2;
    }

    protected void setCity(String city)
    {
        this.city = city;
    }

    protected void setCountry(String country)
    {
        this.country = country;
    }

    protected void setHospitalId(int hospitalId)
    {
        this.hospitalId = hospitalId;
    }

    protected void setName(String name)
    {
        this.name = name;
    }

    protected void setState(String state)
    {
        this.state = state;
    }

}